home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5233 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: yama.mcc.ac.uk!dmu!usenet
  2. From: Chris Sumner <se2cs@dmu.ac.uk>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Serial.device questions
  5. Date: Mon, 11 Mar 1996 20:38:13 +0000
  6. Organization: De Montfort University, Central Newsserver Leicester UK
  7. Message-ID: <31448F35.41C6@dmu.ac.uk>
  8. References: <4i1akt$hs1@sullivan.ucc.hull.ac.uk>
  9. NNTP-Posting-Host: sargent.cms.dmu.ac.uk
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (X11; I; OSF1 V3.2 alpha)
  14.  
  15. J.E.Hollingsworth wrote:
  16. > I'm having a few problems programming the serial.device, and I was
  17. > wondering if anyone would know the answers to these questions:
  18. >         1) Is there any way of checking how many bytes are in
  19. >            the serial buffer before reading from it?
  20. >            I tried using CheckIO(), but I'm not sure its for this
  21. >            purpose.
  22.  
  23. PROC unreadChars() OF serialinfo
  24.   self.cerinIO.iostd.command:=SDCMD_QUERY
  25.   DoIO(self.cerinIO)
  26. ENDPROC self.cerinIO.iostd.actual
  27.  
  28. for the rest of this file, check out:
  29.  
  30. http://www.cms.dmu.ac.uk/~se2cs/estuff/my_modules/serio.e
  31.  
  32. >         2) I need to turn off CTS/RTS handshaking, is there a
  33. >            way of doing it through the operating system?
  34.  
  35. Not sure of that one...
  36.  
  37. -- 
  38. Chris Sumner | se2cs@dmu.ac.uk | http://www.cms.dmu.ac.uk/~se2cs
  39.